home *** CD-ROM | disk | FTP | other *** search
/ Developer Helper 1: Phil & Dave's Excellent CD / Excellent CD HFS.raw / HyperCard / HyperCard 1.2.2 International / HyperCard Danish (DK-1.2.2) / Flere stakke / Hjælp / HjÊlp / card_170835.txt < prev    next >
Text File  |  1989-01-03  |  895b  |  45 lines

  1. -- card: 170835 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 4745
  5. -- name: 
  6.  
  7.  
  8. -- part 2 (button)
  9. -- low flags: 00
  10. -- high flags: 2000
  11. -- rect: left=460 top=52 right=79 bottom=490
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 29019 / 29019
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: 
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   visual effect wipe down
  23.   go to card id 166482
  24. end mouseUp
  25.  
  26.  
  27.  
  28. -- part contents for background part 2
  29. ----- text -----
  30. Mod  (modulo)
  31.  
  32. -- part contents for background part 1
  33. ----- text -----
  34. mod
  35.  
  36. Det f√∏rste tal modulo det andet.  
  37. Resultatet er det, der bliver tilbage efter en heltalsdivision af det f√∏rste tal med det andet tal:
  38.  
  39. 7 mod 2    --- er 1
  40. -7 mod 2   -- er -1
  41. 23 mod 12     -- er 11
  42.  
  43. -- part contents for background part 43
  44. ----- text -----
  45. 336,211